using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace BoOnce.GameLogic.Entities
{
    //streetlamp
    class Streetlamp : PhysicalScenery
    {
        #region Attributes
        Texture2D _LampTexture;
        #endregion

        #region Constructor
        public Streetlamp(Texture2D texture, Vector2 position, float width, float height, float mass)
            : base(position, width, height, mass)
        {
            _LampTexture = texture;
            IsStatic = true;
        }
        #endregion

        #region DrawableEntity
        public override void QuickDraw(GameTime gameTime, SpriteBatch spriteBatch)
        {
            spriteBatch.Draw(_LampTexture, Camera.ToScreenPosition(Position), Color.White);
        }

        public override void Update(GameTime gameTime)
        {
        }
        #endregion
    }
}
